package com.yt.sys.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.yt.sys.models.bo.SysUserSaveBO;
import com.yt.sys.models.dto.SysUserDTO;
import com.yt.sys.models.vo.SysPermissionVO;
import com.yt.sys.models.vo.SysUserVO;

import java.util.List;

/**
 * 系统用户信息服务
 *
 * @author zhou
 * @Date 2025-09-03 14:25:55
 */
public interface ISysUserService extends IService<SysUserDTO> {
    boolean add(SysUserSaveBO saveBO);

    SysUserDTO saveSysUser(SysUserSaveBO bo);

    boolean updateSysUser(SysUserSaveBO bo);

    List<SysUserVO> querySysUsers();

    List<SysPermissionVO> queryPermission(Long id);

    List<SysUserVO> queryEmp();
}
